/**
 * 
 */
package edu.uta.beans;

/**
 *  @author fall 2011 team5
 */

public class DateBean 
{
	/**
	 * @uml.property  name="month"
	 */
	private int month;
	/**
	 * @uml.property  name="day"
	 */
	private int day;
	/**
	 * @uml.property  name="year"
	 */
	private int year;
	/*
	 * @override
	 */
	public DateBean()
	{
		this.month=0;
		this.day=0;
		this.year=0;
		
	}
	
	public DateBean(int m, int d, int y)
	{
		this.month=m;
		this.day=d;
		this.year=y;
	}

	/**
	 * @param  m
	 * @uml.property  name="month"
	 */
	public void setMonth(int m)
	{
		month = m;
	}

	/**
	 * @param  d
	 * @uml.property  name="day"
	 */
	public void setDay(int d)
	{
		day = d;
	}

	/**
	 * @param  y
	 * @uml.property  name="year"
	 */
	public void setYear(int y)
	{
		year = y;
	}
	

	/**
	 * @return
	 * @uml.property  name="month"
	 */
	public int getMonth()
	{
		return month;
	}

	/**
	 * @return
	 * @uml.property  name="day"
	 */
	public int getDay()
	{
		return day;
	}

	/**
	 * @return
	 * @uml.property  name="year"
	 */
	public int getYear()
	{
		return year;
	}
		
	public String toString()
	{
		return ("Month " + month + "\n Day " + day + "\n Year " + year);
	}	

}